﻿using System;
using System.ComponentModel.Composition;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using SilverAmp.Shared;

namespace SilverAmp.Extensions.MenuExtension
{
   [SilverAmpExportExtension(Type = ExtensionType.Regular)]
 //   [Export(typeof(ISilverAmpExtension))]
    public class MenuExtension:ISilverAmpExtension
    {

        [Import]
        public MenuExtensionViewModel ViewModel { get; set; }


        public string Name
        {
            get { return "Menu"; }
        }

        public string DisplayIcon
        {
            get { return "http://localhost:6464/ClientBin/4.png"; }
        }

        public UserControl ExtensionUi
        {
            get { return ViewModel.View;}
        }

        public void Initialize()
        {
            ViewModel.View.listBox.SelectedIndex = -1;
        }

        public bool IsVisibleInMenu { get { return false; } }
    }

}
  